package cn.itcast.service;

import cn.itcast.pojo.ClazzOption;
import cn.itcast.pojo.PageResult;
import cn.itcast.pojo.Student;
import cn.itcast.pojo.StudentQueryParam;

import java.util.List;
import java.util.Map;

public interface StudentService {
    PageResult<Student> page(StudentQueryParam studentQueryParam);

    void save(Student student);

    Student getById(Integer id);

    void update(Student student);

    void deleteBatch(Integer[] ids);

    void violation(Integer id, Integer score);

    ClazzOption studentCountData();

    List<Map> studentDegreeData();
}
